package com.tanhua.dubbo.api;

import com.tanhua.model.domain.Question;

/**
 * @Description: test
 * @Create by: JJ菜菜
 * @Date: 2021/11/30 0:09
 */

public interface QuestionApi {

    Question findByUserId(Long userId);

    // 根据用户id保存
    void save(Question question);

    // 根据用户id修改问题
    void updateByUserId(Question question);
}
